import http from "../../utils/http"

const login = {
    // 登录
    Login: (data) => http.post('/login', data),
    update: (data) => http.post('/change_password', data),//修改密码
    logout: (data) => http.post('/logout', data),
}

export default login;